import httpInstance from "../utils/http";

export const tasksAPI = ({username, page, pagesize, startDate, endDate})=>{
    return httpInstance({
        url: '/tasks',
        method: 'POST',
        data: {
            username,
            page,
            pagesize, 
            startDate,
            endDate
        }
    })
}